package com.zoffy.wmsbackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zoffy.wmsbackend.model.dto.materialUsagePlan.MaterialUsagePlanDto;
import com.zoffy.wmsbackend.model.entity.MaterialUsagePlan;
import com.zoffy.wmsbackend.model.vo.materialUsagePlan.MaterialUsagePlanDetailVo;
import com.zoffy.wmsbackend.model.vo.materialUsagePlan.MaterialUsagePlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MaterialUsagePlanMapper extends BaseMapper<MaterialUsagePlan> {
    Page<MaterialUsagePlanVo> listMaterialUsagePlanVoByPage(Page<MaterialUsagePlanVo> page, MaterialUsagePlanDto dto);
    MaterialUsagePlanVo getMaterialUsagePlanVoById(Long id);
    List<MaterialUsagePlanDetailVo> getDetailsById(Long id);
}